package common;

import javax.servlet.http.HttpServletRequest;
import model.User;

public class SessionUtil {
	public static String getSessionValue(HttpServletRequest request) {
		User user = (User) request.getSession().getAttribute("user");
		if (user != null) {
			return "user";
		}
		return null;
	}
}